/*
 * Wind
 * 
 * Copyright 2008-2011 Centro Andaluz de Innovacion y Tecnologias de la
 * Informacion y las Comunicaciones (CITIC). All Rights Reserved.
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
 *
 * Please contact CITIC - Edificio CITIC, C/ Marie Curie, 6 Parque
 * Tecnologico de Andalucia 29590 - Campanillas, Malaga, Spain
 * or visit www.citic.es, if you need additional information or
 * have any questions.
 */

package es.citic.puedes.weatherservice.model;

public class Wind {
	private Integer windSpeedMiles;
	private Integer windSpeedKmph;
	private String windDirection;

	/**
	 * Empty constructor
	 */
	public Wind() {
		this.windSpeedMiles = null;
		this.windSpeedKmph = null;
		this.windDirection = null;
	}

	/**
	 * Constructor with parameters
	 * 
	 * @param windSpeedMiles
	 * @param windSpeedKmph
	 * @param windDirection
	 */
	public Wind(Integer windSpeedMiles, Integer windSpeedKmph,
			String windDirection) {
		this.windDirection = windDirection;
		this.windSpeedKmph = windSpeedKmph;
		this.windSpeedMiles = windSpeedMiles;
	}

	/**
	 * Get wind speed in miles
	 * 
	 * @return windSpeedMiles Wind speed in miles
	 */
	public Integer getWindSpeedMiles() {
		return this.windSpeedMiles;
	}

	/**
	 * Get wind speed in Kmph
	 * 
	 * @return windSpeedKmph Wind speed in Kmph
	 */
	public Integer getWindSpeedKmph() {
		return this.windSpeedKmph;
	}

	/**
	 * Get wind direction
	 * 
	 * @return windDirection Wind direction
	 */
	public String getWindDirection() {
		return this.windDirection;
	}

	/**
	 * Set wind speed in miles
	 * 
	 * @param windSpeedMiles
	 *            Wind speed in miles
	 */
	public void setWindSpeedMiles(Integer windSpeedMiles) {
		this.windSpeedMiles = windSpeedMiles;
	}

	/**
	 * Set wind speed in Kmph
	 * 
	 * @param windSpeedKmph
	 *            Wind speed in Kmph
	 */
	public void setWindSpeedKmph(Integer windSpeedKmph) {
		this.windSpeedKmph = windSpeedKmph;
	}

	/**
	 * Set wind direction
	 * 
	 * @param windDirection
	 *            Wind direction
	 */
	public void setWindDirection(String windDirection) {
		this.windDirection = windDirection;
	}

	/**
	 * Return a string representation of the object
	 */
	public String toString() {
		return this.windSpeedMiles + "Miles-" + this.windSpeedKmph + "Kmph"
				+ ", " + this.windDirection;
	}

}
